package com.houserent.entry;

/**
 * @author 返回实体类
 */
public class HouseResult {

    public final static String ERROR_CODE = "9999";
    public final static String SUCCESS_CODE = "0000";
    public final static String ADD_HOUSE_ERROR_CODE = "8888";// 需要重新添加图片

    private String status; // 编码
    private String detail; // 描述
    private Object data; // 数据

    public HouseResult() {

    }

    public HouseResult(String status, String detail, Object data) {
        super();
        this.status = status;
        this.detail = detail;
        this.data = data;
    }

    public String getstatus() {
        return status;
    }

    public void setstatus(String status) {
        this.status = status;
    }

    public String getdetail() {
        return detail;
    }

    public void setdetail(String detail) {
        this.detail = detail;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result [status=" + status + ", detail=" + detail + ", data=" + data + "]";
    }

}
